package cn.rongdao.jrkabao.ui.cashcoupon.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.cashcoupon.SelectCashCouponBean;
import cn.rongdao.jrkabao.ui.cashcoupon.uicomponent.SelectCashCouponUIComponent;

/**
 * Created by jack on 2017/8/15
 */

public class SelectCashCouponViewHolder extends FRBaseRecyclerViewHolder<SelectCashCouponBean.ListBean> {

    private SelectCashCouponUIComponent cashCouponUIComponent;

    public SelectCashCouponViewHolder(View view) {
        super(view);
        cashCouponUIComponent = (SelectCashCouponUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(SelectCashCouponBean.ListBean listBean) {
        cashCouponUIComponent.setContent(listBean);
    }
}